package com.platform.core.entity;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Description: ncloud_sys_component实体类
 *
 * @author Coder
 */
@Setter
@Getter
@Entity
@Table(name = "ncloud_sys_component")
public class NcloudSysComponentEntity implements Serializable {

    /**
    * id
    */
    @Id
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @GeneratedValue(generator = "system-uuid")
    private String id;

    /**
    * 组件logo
    */
    @Column(name = "comp_img" )
    private String compImg;

    /**
    * 组件名称
    */
    @Column(name = "comp_name" )
    private String compName;

    /**
    * 组件描述
    */
    @Column(name = "comp_desc" )
    private String compDesc;

    /**
    * 跳转链接
    */
    @Column(name = "comp_link" )
    private String compLink;

    /**
    * 是否部署：1:已部署
    */
    @Column(name = "flag" )
    private String flag;

}
